import React, { Component } from 'react'
// import { connect } from 'react-redux'

export class tuijian extends Component {
  render() {
    console.log(this.props);
    return (
      <div>
        tuijian
        {/* <ul>
          {
            this.props.list.map((item, index) => {
              return (
                <li key={index}>
                  {item.name}
                </li>
              )
            })
          }
        </ul> */}
      </div>
    )
  }
}

// const mapStateToProps = (state) => {
//   console.log('state', state);
//   return {
//     list: state.list
//   }
// }

// const mapDispatchToProps = {

// }

// export default connect(mapStateToProps, mapDispatchToProps)(tuijian)